//
//  GQTabBar.h
//  GuQu
//
//  Created by HELIUM STAR on 15/5/8.
//  Copyright (c) 2015年 HELIUM STAR. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Singleton.h"

@class GQTabBar;


@protocol GQTabBarDelegate <NSObject>

@optional
- (void)tabBar:(GQTabBar *)tabBar didClickButton:(NSInteger)index;
- (void)tabBar:(GQTabBar *)tabBar didClickShareButton:(UIButton *)button;

@end

@interface GQTabBar : UIView

singleton_interface(GQTabBar)

@property (strong ,nonatomic) NSArray *items;
@property (weak, nonatomic) id <GQTabBarDelegate> delegate;

//- (void)setItemsEnable:(BOOL)enable;

@end
